.PHONY:mq_connectiontest
mq_connectiontest:mq_connectiontest.cc ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lsqlite3 -lgtest -lprotobuf -I../mqthird/include
mq_channeltest:mq_channeltest.cc ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lsqlite3 -lgtest -lprotobuf -I../mqthird/include
mq_consumertest:mq_consumertest.cc ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lsqlite3 -lgtest -lprotobuf
mq_routertest:mq_routertest.cc ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lsqlite3 -lgtest -lprotobuf
mq_hosttest:mq_hosttest.cc ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lsqlite3 -lgtest -lprotobuf
mq_msgtest:mq_msgtest.cc ../mqcommon/mq_msg.pb.cc
	g++ -std=c++11 $^ -o $@ -lsqlite3 -lgtest -lprotobuf
mq_bindingtest:mq_bindingtest.cc
	g++ -std=c++11 $^ -o $@ -lsqlite3 -lgtest -lprotobuf
mq_queuetest:mq_queuetest.cc
	g++ -std=c++11 $^ -o $@ -lsqlite3 -lgtest -lprotobuf
my_exchangetest:my_exchangetest.cc
	g++ -std=c++11 $^ -o $@ -lsqlite3 -lgtest -lprotobuf
filetest:my_filetest.cc
	g++ -std=c++11 $^ -o $@ -lsqlite3
.PHONY:clean
clean:
	rm -rf mq_connectiontest